from common.locate_by import By

class LocExpertDetail:

    loc_close = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.button,
        "loc_name": "关闭此对话框",
    }

    loc_date_of_birth = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "出生年月:",
    }

    loc_title = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "职称:",
        "seq": 4,
    }

    loc_expert_id = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "专家编号:",
    }

    loc_major = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "专业:",
    }

    loc_area_code = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "行政区域:",
        "seq": 1,
    }

    loc_degree = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "学历:",
        "seq": 5,
    }

    loc_business_area = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "业务领域:",
        "seq": 7,
    }

    loc_park_code = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "园区名称:",
        "seq": 2,
    }

    loc_grade_score = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "评估结果:",
    }

    loc_enterprise_id = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "单位名称:",
    }

    loc_name = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "专家姓名:",
    }

    loc_sex = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "性别:",
        "seq": 3,
    }

    loc_level = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "专家级别:",
    }

    loc_direction = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "专业方向:",
    }

    loc_titles = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "技术职称:",
    }

    loc_age = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "年龄:",
    }

    loc_phone = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "联系方式:",
    }

    loc_tel = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "办公电话:",
    }

    loc_email = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "电子邮箱:",
    }

    loc_id_number = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "身份证号:",
    }

    loc_nature = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "专家性质:",
        "seq": 6,
    }

    loc_photo = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "照片:",
    }

    loc_longitude = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "经度:",
    }

    loc_latitude = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "纬度:",
    }

    loc_geom = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "坐标信息:",
    }
    loc_geom_close = {
        "page_role": By.dialog,
        "page_title": "坐标信息",
        "loc_role": By.button,
        "loc_name": "关闭此对话框",
    }

    loc_resident_position_id = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "常驻位置:",
    }

    loc_resident_position_desc = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "常驻位置描述:",
    }

    loc_affiliated_unit = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "所属单位:",
    }

    loc_score = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "得分:",
    }

    loc_pass = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "是否及格:",
    }
